/**
 * @description 题库
 * @author 张一依有把越女剑
 * @date 2025-04-16
 */

// 题库数据 - 增加分类和难度等级
export const questionBank = [
	{
		id: 1,
		question: "安全生产的方针是什么？",
		options: [
			"安全第一，预防为主，综合治理",
			"生产第一，安全第二",
			"以人为本，安全发展",
			"预防为主，保护优先"
		],
		answer: 0,
		category: "基础知识", // 题目分类
		difficulty: "easy", // 难度等级：easy, medium, hard
		explanation: "安全生产方针是'安全第一，预防为主，综合治理'，这是我国安全生产工作的基本方针。" // 答案解析
	},
	{
		id: 2,
		question: "以下哪项不是安全生产的基本要求？",
		options: [
			"安全培训教育",
			"安全设施配备",
			"追求最大生产效率",
			"安全检查制度"
		],
		answer: 2,
		category: "基础知识",
		difficulty: "easy",
		explanation: "追求最大生产效率不是安全生产的基本要求，安全生产应该把安全放在第一位。"
	},
	{
		id: 3,
		question: "发现安全隐患应该怎么做？",
		options: [
			"隐瞒不报",
			"立即报告主管领导",
			"私下解决",
			"等待他人发现"
		],
		answer: 1,
		category: "基础知识",
		difficulty: "easy",
		explanation: "发现安全隐患应该立即报告主管领导，及时处理，防止事故发生。"
	},
	{
		id: 4,
		question: "我国《安全生产法》最新修订时间是？",
		options: [
			"2014年",
			"2021年",
			"2018年",
			"2020年"
		],
		answer: 1,
		category: "法律法规",
		difficulty: "medium",
		explanation: "《安全生产法》最新修订时间是2021年，这次修订进一步强化了安全生产责任。"
	},
	{
		id: 5,
		question: "三级安全教育不包括哪一级？",
		options: [
			"厂级",
			"车间级",
			"班组级",
			"部门级"
		],
		answer: 3,
		category: "基础知识",
		difficulty: "medium",
		explanation: "三级安全教育包括厂级、车间级、班组级教育，不包括部门级。"
	},
	{
		id: 6,
		question: "安全色中红色代表什么含义？",
		options: [
			"禁止",
			"警告",
			"指令",
			"提示"
		],
		answer: 0
	},
	{
		id: 7,
		question: "下列哪种灭火器不适用于扑灭电器火灾？",
		options: [
			"干粉灭火器",
			"二氧化碳灭火器",
			"泡沫灭火器",
			"1211灭火器"
		],
		answer: 2
	},
	{
		id: 8,
		question: "高空作业是指坠落高度基准面多少米以上？",
		options: [
			"1米",
			"2米",
			"3米",
			"5米"
		],
		answer: 1
	},
	{
		id: 9,
		question: "下列哪项不属于特种作业人员？",
		options: [
			"电工",
			"焊工",
			"叉车司机",
			"普通车工"
		],
		answer: 3
	},
	{
		id: 10,
		question: "安全帽的有效使用期限一般不超过几年？",
		options: [
			"1年",
			"2年",
			"3年",
			"5年"
		],
		answer: 2
	},
	{
		id: 11,
		question: "下列哪种情况不属于机械伤害？",
		options: [
			"绞伤",
			"压伤",
			"烫伤",
			"砸伤"
		],
		answer: 2
	},
	{
		id: 12,
		question: "电气设备着火时首先应做什么？",
		options: [
			"用水灭火",
			"切断电源",
			"用泡沫灭火器灭火",
			"用干粉灭火器灭火"
		],
		answer: 1
	},
	{
		id: 13,
		question: "职业病防治工作方针是？",
		options: [
			"预防为主，防治结合",
			"治疗为主，预防为辅",
			"全面预防，重点治疗",
			"综合治理，个体防护"
		],
		answer: 0
	},
	{
		id: 14,
		question: "下列哪项不属于\"三违\"行为？",
		options: [
			"违章指挥",
			"违章作业",
			"违反劳动纪律",
			"违反操作规程"
		],
		answer: 3
	},
	{
		id: 15,
		question: "安全电压的最高限值是？",
		options: [
			"12V",
			"24V",
			"36V",
			"42V"
		],
		answer: 3
	},
	{
		id: 16,
		question: "下列哪项不是安全标志的四种类型之一？",
		options: [
			"禁止标志",
			"警告标志",
			"指令标志",
			"说明标志"
		],
		answer: 3
	},
	{
		id: 17,
		question: "灭火的基本方法不包括？",
		options: [
			"隔离法",
			"窒息法",
			"冷却法",
			"吹风法"
		],
		answer: 3
	},
	{
		id: 18,
		question: "下列哪种气体属于易燃易爆气体？",
		options: [
			"氧气",
			"氮气",
			"乙炔",
			"二氧化碳"
		],
		answer: 2
	},
	{
		id: 19,
		question: "安全带的正确使用方法是？",
		options: [
			"低挂高用",
			"高挂低用",
			"平挂平用",
			"随意悬挂"
		],
		answer: 1
	},
	{
		id: 20,
		question: "下列哪项不属于个人防护用品？",
		options: [
			"安全帽",
			"防护眼镜",
			"工作服",
			"灭火器"
		],
		answer: 3
	},
	{
		id: 21,
		question: "事故调查处理\"四不放过\"原则不包括？",
		options: [
			"事故原因未查清不放过",
			"责任人员未处理不放过",
			"整改措施未落实不放过",
			"经济损失未统计不放过"
		],
		answer: 3
	},
	{
		id: 22,
		question: "下列哪项属于危险化学品？",
		options: [
			"自来水",
			"乙醇",
			"食盐",
			"白糖"
		],
		answer: 1
	},
	{
		id: 23,
		question: "安全生产责任制应当做到？",
		options: [
			"横向到边，纵向到底",
			"领导负责，员工免责",
			"部门独立，互不干涉",
			"临时应对，事后处理"
		],
		answer: 0
	},
	{
		id: 24,
		question: "下列哪项不是火灾三要素？",
		options: [
			"可燃物",
			"助燃物",
			"着火源",
			"氧气"
		],
		answer: 3
	},
	{
		id: 25,
		question: "安全色中蓝色代表什么含义？",
		options: [
			"禁止",
			"警告",
			"指令",
			"提示"
		],
		answer: 2
	},
	{
		id: 26,
		question: "下列哪项不属于\"四不伤害\"原则？",
		options: [
			"不伤害自己",
			"不伤害他人",
			"不被他人伤害",
			"不保护他人"
		],
		answer: 3
	},
	{
		id: 27,
		question: "特种设备安全监察条例规定的特种设备不包括？",
		options: [
			"锅炉",
			"压力容器",
			"电梯",
			"普通机床"
		],
		answer: 3
	},
	{
		id: 28,
		question: "触电急救的第一步是？",
		options: [
			"立即进行心肺复苏",
			"切断电源",
			"拨打120",
			"将伤员移至通风处"
		],
		answer: 1
	},
	{
		id: 29,
		question: "下列哪项不是有限空间作业的危险特性？",
		options: [
			"通风不良",
			"有毒有害气体",
			"空间狭小",
			"光线充足"
		],
		answer: 3
	},
	{
		id: 30,
		question: "安全标志中圆形带斜杠的红环表示？",
		options: [
			"禁止",
			"警告",
			"指令",
			"提示"
		],
		answer: 0
	},
	{
		id: 31,
		question: "下列哪项不是安全生产\"五要素\"？",
		options: [
			"安全文化",
			"安全法制",
			"安全责任",
			"安全设备"
		],
		answer: 3
	},
	{
		id: 32,
		question: "职业病危害因素分类目录将职业病危害分为几大类？",
		options: [
			"3类",
			"6类",
			"9类",
			"12类"
		],
		answer: 1
	},
	{
		id: 33,
		question: "下列哪项不属于危险作业？",
		options: [
			"动火作业",
			"高处作业",
			"有限空间作业",
			"办公室作业"
		],
		answer: 3
	},
	{
		id: 34,
		question: "安全色中黄色代表什么含义？",
		options: [
			"禁止",
			"警告",
			"指令",
			"提示"
		],
		answer: 1
	},
	{
		id: 35,
		question: "下列哪项不属于安全生产\"三同时\"？",
		options: [
			"同时设计",
			"同时施工",
			"同时投入生产和使用",
			"同时检查"
		],
		answer: 3
	},
	{
		id: 36,
		question: "火灾报警电话是？",
		options: [
			"110",
			"119",
			"120",
			"122"
		],
		answer: 1
	},
	{
		id: 37,
		question: "下列哪项不是安全用电的基本要求？",
		options: [
			"绝缘良好",
			"保护接地",
			"超负荷使用",
			"安全距离"
		],
		answer: 2
	},
	{
		id: 38,
		question: "下列哪项属于物理性职业病危害因素？",
		options: [
			"噪声",
			"粉尘",
			"毒物",
			"细菌"
		],
		answer: 0
	},
	{
		id: 39,
		question: "安全标志中三角形黄色边框表示？",
		options: [
			"禁止",
			"警告",
			"指令",
			"提示"
		],
		answer: 1
	},
	{
		id: 40,
		question: "下列哪项不是危险化学品的主要危险特性？",
		options: [
			"易燃性",
			"腐蚀性",
			"毒性",
			"导电性"
		],
		answer: 3
	},
	{
		id: 41,
		question: "安全生产事故等级划分不包括？",
		options: [
			"特别重大事故",
			"重大事故",
			"较大事故",
			"轻微事故"
		],
		answer: 3
	},
	{
		id: 42,
		question: "下列哪项不属于\"三不伤害\"？",
		options: [
			"不伤害自己",
			"不伤害他人",
			"不被他人伤害",
			"不保护他人"
		],
		answer: 3
	},
	{
		id: 43,
		question: "下列哪项不是安全标志的基本要素？",
		options: [
			"安全色",
			"几何图形",
			"图形符号",
			"文字说明"
		],
		answer: 3
	},
	{
		id: 44,
		question: "下列哪项属于化学性职业病危害因素？",
		options: [
			"噪声",
			"振动",
			"粉尘",
			"高温"
		],
		answer: 2
	},
	{
		id: 45,
		question: "安全色中绿色代表什么含义？",
		options: [
			"禁止",
			"警告",
			"指令",
			"提示"
		],
		answer: 3
	},
	{
		id: 46,
		question: "下列哪项不是安全生产责任制的内容？",
		options: [
			"各级领导的安全职责",
			"各职能部门的安全职责",
			"安全专职机构职责",
			"员工个人生活规范"
		],
		answer: 3
	},
	{
		id: 47,
		question: "下列哪项不属于特种设备？",
		options: [
			"锅炉",
			"压力容器",
			"电梯",
			"普通机床"
		],
		answer: 3
	},
	{
		id: 48,
		question: "下列哪项不是安全标志的作用？",
		options: [
			"提醒危险",
			"禁止行为",
			"装饰环境",
			"指示行为"
		],
		answer: 2
	},
	{
		id: 49,
		question: "下列哪项不是安全用电的基本措施？",
		options: [
			"绝缘",
			"屏护",
			"间距",
			"超负荷"
		],
		answer: 3
	},
	{
		id: 50,
		question: "下列哪项不是危险化学品事故的特点？",
		options: [
			"突发性强",
			"扩散迅速",
			"危害范围广",
			"容易控制"
		],
		answer: 3
	},
	{
		id: 51,
		question: "下列哪项不是安全生产\"五同时\"的内容？",
		options: [
			"同时计划",
			"同时布置",
			"同时检查",
			"同时处罚"
		],
		answer: 3
	},
	{
		id: 52,
		question: "下列哪项不是安全标志的分类？",
		options: [
			"禁止标志",
			"警告标志",
			"指令标志",
			"装饰标志"
		],
		answer: 3
	},
	{
		id: 53,
		question: "下列哪项不是安全生产责任制的要求？",
		options: [
			"谁主管谁负责",
			"管生产必须管安全",
			"安全生产人人有责",
			"安全是安全部门的事"
		],
		answer: 3
	},
	{
		id: 54,
		question: "下列哪项不是安全色的基本颜色？",
		options: [
			"红色",
			"黄色",
			"蓝色",
			"紫色"
		],
		answer: 3
	},
	{
		id: 55,
		question: "下列哪项不是安全标志的基本形式？",
		options: [
			"圆形",
			"三角形",
			"正方形",
			"五边形"
		],
		answer: 3
	},
	{
		id: 56,
		question: "下列哪项不是安全生产\"三违\"行为？",
		options: [
			"违章指挥",
			"违章作业",
			"违反劳动纪律",
			"违反操作规程"
		],
		answer: 3
	},
	{
		id: 57,
		question: "下列哪项不是安全生产\"四不放过\"原则？",
		options: [
			"事故原因未查清不放过",
			"责任人员未处理不放过",
			"整改措施未落实不放过",
			"经济损失未统计不放过"
		],
		answer: 3
	},
	{
		id: 58,
		question: "下列哪项不是安全生产\"五要素\"？",
		options: [
			"安全文化",
			"安全法制",
			"安全责任",
			"安全设备"
		],
		answer: 3
	},
	{
		id: 59,
		question: "下列哪项不是安全生产\"三同时\"的内容？",
		options: [
			"同时设计",
			"同时施工",
			"同时投入生产和使用",
			"同时检查"
		],
		answer: 3
	},
	{
		id: 60,
		question: "下列哪项不是安全生产\"五同时\"的内容？",
		options: [
			"同时计划",
			"同时布置",
			"同时检查",
			"同时处罚"
		],
		answer: 3
	},
	{
		id: 61,
		question: "安全生产责任制的目的是什么？",
		options: [
			"明确责任",
			"惩罚员工",
			"防止工伤",
			"减少投入"
		],
		answer: 0
	},
	{
		id: 62,
		question: "安全标志的作用是什么？",
		options: [
			"装饰环境",
			"警示危险",
			"指导行为",
			"警示危险并指导行为"
		],
		answer: 3
	},
	{
		id: 63,
		question: "安全检查的主要形式有哪些？",
		options: [
			"日常检查、定期检查、专项检查",
			"月度检查、季度检查",
			"年度检查",
			"临时检查"
		],
		answer: 0
	},
	{
		id: 64,
		question: "《安全生产法》实施的日期是？",
		options: [
			"2002年11月1日",
			"2004年1月1日",
			"2006年1月1日",
			"2008年1月1日"
		],
		answer: 1
	},
	{
		id: 65,
		question: "安全事故隐患整改的要求是什么？",
		options: [
			"及时治理",
			"推迟处理",
			"视情况而定",
			"等待上级指示"
		],
		answer: 0
	},
	{
		id: 66,
		question: "生产经营单位对重大危险源应当如何管理？",
		options: [
			"隐瞒不报",
			"置之不理",
			"建立风险分级管控机制",
			"等待事故发生再处理"
		],
		answer: 2
	},
	{
		id: 67,
		question: "以下哪项不是安全生产奖惩制度的内容？",
		options: [
			"奖励安全行为",
			"惩罚违规行为",
			"提高安全意识",
			"随意处罚员工"
		],
		answer: 3
	},
	{
		id: 68,
		question: "安全生产应急预案的作用是什么？",
		options: [
			"应付检查",
			"提高效益",
			"提前准备,减少事故损失",
			"增加工作内容"
		],
		answer: 2
	},
	{
		id: 69,
		question: "安全生产的\"三违\"是指什么？",
		options: [
			"违章指挥、违章操作、违反劳动纪律",
			"违法生产、违规操作、违反规定",
			"违背原则、违背规定、违背制度",
			"违章建设、违规使用、违法经营"
		],
		answer: 0
	},
	{
		id: 70,
		question: "安全生产监督管理的职责是什么？",
		options: [
			"监督检查安全生产工作",
			"直接管理生产",
			"替代企业管理安全",
			"提高企业效益"
		],
		answer: 0
	},
	{
		id: 71,
		question: "特种设备安全监察的范围包括哪些设备？",
		options: [
			"所有生产设备",
			"锅炉、压力容器、电梯等",
			"普通机床",
			"手动工具"
		],
		answer: 1
	},
	{
		id: 72,
		question: "职业病防治的根本措施是什么？",
		options: [
			"职业病治疗",
			"个人防护",
			"工程防护",
			"定期体检"
		],
		answer: 2
	},
	{
		id: 73,
		question: "安全检查的内容不包括哪项？",
		options: [
			"人的不安全行为",
			"物的不安全状态",
			"管理的缺陷",
			"企业经营状况"
		],
		answer: 3
	},
	{
		id: 74,
		question: "以下哪项不是安全生产管理的基本原则？",
		options: [
			"安全第一",
			"预防为主",
			"综合治理",
			"利益最大化"
		],
		answer: 3
	},
	{
		id: 75,
		question: "安全生产\"五同时\"是指什么？",
		options: [
			"同时设计、同时施工、同时验收、同时使用、同时管理",
			"同时检查、同时整改、同时复查、同时验收、同时报告",
			"同时签到、同时开会、同时学习、同时考核、同时离开",
			"同时计划、同时实施、同时监督、同时检查、同时总结"
		],
		answer: 0
	},
	{
		id: 76,
		question: "职业病危害因素接触限值是由谁制定的？",
		options: [
			"企业自行制定",
			"行业协会制定",
			"国家卫生健康部门制定",
			"工会组织制定"
		],
		answer: 2
	},
	{
		id: 77,
		question: "安全风险评估的目的是什么？",
		options: [
			"获得证书",
			"识别危险源并采取措施",
			"满足上级要求",
			"增加工作内容"
		],
		answer: 1
	},
	{
		id: 78,
		question: "安全生产许可证制度适用于哪些行业？",
		options: [
			"所有行业",
			"仅适用于工业行业",
			"煤矿、非煤矿山、危险化学品等高危行业",
			"仅适用于服务业"
		],
		answer: 2
	},
	{
		id: 79,
		question: "安全生产标准化建设的目标是什么？",
		options: [
			"增加产量",
			"提高安全管理水平",
			"节约成本",
			"提高效率"
		],
		answer: 1
	},
	{
		id: 80,
		question: "事故报告的首要原则是什么？",
		options: [
			"如实报告",
			"隐瞒不报",
			"等待上级指示",
			"自行处理"
		],
		answer: 0
	},
	{
		id: 81,
		question: "安全生产宣传教育的主要形式有哪些？",
		options: [
			"仅限于课堂教学",
			"仅限于网络学习",
			"仅限于现场演示",
			"多种形式结合"
		],
		answer: 3
	},
	{
		id: 82,
		question: "安全生产责任制的特点是什么？",
		options: [
			"只针对管理人员",
			"只针对一线员工",
			"涵盖所有岗位和人员",
			"只针对特种作业人员"
		],
		answer: 2
	},
	{
		id: 83,
		question: "安全防护设施拆除或者停止使用时应当怎么做？",
		options: [
			"随意拆除",
			"经审批并采取替代措施",
			"暂时停用即可",
			"不需要任何处理"
		],
		answer: 1
	},
	{
		id: 84,
		question: "安全生产管理的核心是什么？",
		options: [
			"安全投入",
			"安全文化",
			"安全技术",
			"系统管理"
		],
		answer: 3
	},
	{
		id: 85,
		question: "安全生产工作的原则不包括哪项？",
		options: [
			"以人为本",
			"安全发展",
			"安全第一",
			"效益优先"
		],
		answer: 3
	},
	{
		id: 86,
		question: "安全生产月的主题是什么？",
		options: [
			"增产增效",
			"遵章守纪，保障安全",
			"技术创新",
			"节能减排"
		],
		answer: 1
	},
	{
		id: 87,
		question: "《安全生产法》适用于哪些单位？",
		options: [
			"仅适用于大型企业",
			"仅适用于高危行业",
			"仅适用于国有企业",
			"适用于所有生产经营单位"
		],
		answer: 3
	},
	{
		id: 88,
		question: "安全生产许可证的有效期是多久？",
		options: [
			"1年",
			"2年",
			"3年",
			"5年"
		],
		answer: 2
	},
	{
		id: 89,
		question: "特种作业人员必须具备什么条件？",
		options: [
			"高学历",
			"专业技能和相应资格",
			"多年工作经验",
			"良好的人际关系"
		],
		answer: 1
	},
	{
		id: 90,
		question: "生产安全事故发生后,单位主要负责人应当做什么？",
		options: [
			"立即组织抢救,并按规定报告",
			"等待上级指示",
			"隐瞒不报",
			"离开现场"
		],
		answer: 0
	},
	{
		id: 91,
		question: "安全生产的最高管理者是谁？",
		options: [
			"安全总监",
			"车间主任",
			"企业法定代表人",
			"安全员"
		],
		answer: 2
	},
	{
		id: 92,
		question: "以下哪项不是《安全生产法》规定的安全生产保障措施？",
		options: [
			"安全投入保障",
			"提高工资待遇",
			"监督管理措施",
			"应急救援措施"
		],
		answer: 1
	},
	{
		id: 93,
		question: "安全生产标准化的核心是什么？",
		options: [
			"获得证书",
			"标准化管理",
			"应付检查",
			"提高效益"
		],
		answer: 1
	},
	{
		id: 94,
		question: "以下哪种情况下可以拒绝危险作业？",
		options: [
			"工作太辛苦",
			"没有执行安全操作规程",
			"工资待遇不满意",
			"个人不喜欢该工作"
		],
		answer: 1
	},
	{
		id: 95,
		question: "安全培训的对象应该是谁？",
		options: [
			"新员工",
			"管理人员",
			"特种作业人员",
			"所有从业人员"
		],
		answer: 3
	},
	{
		id: 96,
		question: "安全生产培训教育的目的是什么？",
		options: [
			"满足监管要求",
			"应付检查",
			"提高安全意识和技能",
			"占用工作时间"
		],
		answer: 2
	},
	{
		id: 97,
		question: "个人防护用品的作用是什么？",
		options: [
			"保护个人安全",
			"增加工作难度",
			"展示企业形象",
			"满足监管要求"
		],
		answer: 0
	},
	{
		id: 98,
		question: "发生火灾时应该怎么做？",
		options: [
			"抢救贵重物品",
			"先报警后灭火",
			"躲避在密闭空间",
			"立即乘坐电梯逃生"
		],
		answer: 1
	},
	{
		id: 99,
		question: "以下哪项不是正确的消防安全知识？",
		options: [
			"发生火灾时不乘坐电梯",
			"定期检查消防设备",
			"保持安全通道畅通",
			"火灾时先抢救贵重物品"
		],
		answer: 3
	},
	{
		id: 100,
		question: "以下哪种行为是不安全的？",
		options: [
			"佩戴安全帽",
			"使用合格工具",
			"疲劳作业",
			"遵守操作规程"
		],
		answer: 2
	}
];

// 从题库中随机抽取指定数量的题目
export function getRandomQuestions(count) {
	const shuffled = [...questionBank].sort(() => 0.5 - Math.random());
	return shuffled.slice(0, count);
} 